#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# Project: spd-sxmcc
"""
@author: lyndon
@time Created on 2018/10/12 11:34
@desc
"""

uu = u"中文"

print(uu)
try:
    bb = uu.decode('utf-8')
    print(bb)
except Exception as err:
    print(err)

u1 = u'167.99.15.109:8080,http,1539306004006'
print("u1:", u1)
ip = u1.split(',')[0]
print(ip)